package com.ruoyi.goods.domain;


import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BmPreferential extends BaseEntity {

  private long id;
  private String preferentialName;
  private long preferentialType;
//  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JSONField(format="yyyy-MM-dd HH:mm:ss")
  private Date startTime;
//  @JsonFormat(pattern = "yyyy-MM-dd")
@JSONField(format="yyyy-MM-dd HH:mm:ss")
  private Date endTime;
  private long status;
  private String mark;
}
